#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START psmisc
# depends: ncurses

reset_mtime psmisc psmisc/configure.ac
mkdir -p build/psmisc
cd build/psmisc
../../psmisc/configure \
	${CONFIGURE_ARGS} \
	--disable-selinux \
	ac_cv_func_malloc_0_nonnull=yes \
	ac_cv_func_realloc_0_nonnull=yes \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/psmisc

# RECIPE END psmisc
